UCF STIG Viewer Logo

The vCenter Perfcharts service "ErrorReportValve showServerInfo" must be set to "false".


Overview

Finding ID Version Rule ID IA Controls Severity
V-259082 VCPF-80-000067 SV-259082r961167_rule Medium
Description
The Error Report Valve is a simple error handler for HTTP status codes that will generate and return HTML error pages. It can also be configured to return predefined static HTML pages for specific status codes and/or exception types. Disabling "showServerInfo" will only return the HTTP status code and remove all CSS from the default nonerror-related HTTP responses.
STIG Date
VMware vSphere 8.0 vCenter Appliance Perfcharts Security Technical Implementation Guide 2024-07-11

Details

Check Text ( C-62822r934902_chk )
At the command prompt, run the following command:

# xmllint --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.ErrorReportValve"]' /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml

Example result:



If the "ErrorReportValve" element is not defined or "showServerInfo" is not set to "false", this is a finding.
Fix Text (F-62731r934903_fix)
Navigate to and open:

/usr/lib/vmware-perfcharts/tc-instance/conf/server.xml

Locate the following Host block:


...


Inside this block, add or update the following on a new line:



Restart the service with the following command:

# vmon-cli --restart perfcharts